/*
 * flash.h
 *
 *  Created on: Aug 9, 2025
 *      Author: Young
 */

#ifndef INC_FLASH_H_
#define INC_FLASH_H_

/**
 * defines
 *
 */
// STM32F103C8T6 中容量产品
#define BYTE_PRE_PAGE 				0x400
#define FLASH_PAGES					128

/**
 * includes
 *
 */
#include "main.h"

int modifyFlash(uint16_t data, uint16_t index);

#endif
